package org.jeecg.modules.quality.service.impl;

import org.jeecg.modules.quality.entity.BussInspectionFormStorage;
import org.jeecg.modules.quality.mapper.BussInspectionFormStorageMapper;
import org.jeecg.modules.quality.service.IBussInspectionFormStorageService;
import org.jeecg.modules.quality.vo.BussInspectionFormStorageVo;
import org.springframework.stereotype.Service;
import java.util.List;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * @Description: 检验单关联入库明细
 * @Author: jeecg-boot
 * @Date:   2024-07-09
 * @Version: V1.0
 */
@Service
public class BussInspectionFormStorageServiceImpl extends ServiceImpl<BussInspectionFormStorageMapper, BussInspectionFormStorage> implements IBussInspectionFormStorageService {
	
	@Autowired
	private BussInspectionFormStorageMapper bussInspectionFormStorageMapper;
	
	@Override
	public List<BussInspectionFormStorageVo> selectByMainId(String mainId) {
		return bussInspectionFormStorageMapper.selectByMainId(mainId);
	}

	@Override
	public List<BussInspectionFormStorageVo> selectStorageDetail(String mainId,String materialId) {
		return bussInspectionFormStorageMapper.selectStorageDetail(mainId,materialId);
	}
}
